<template>
  <view class="p-tb-8 flex align-center justify-between p-lr-40">
    <view class="flex1 flex align-center">
      <view class="h-30 w-10 bg-2D8CF0 br-5 mr-10"></view>
      <text class="flex1 fz-40 color-333333 font-bold">{{title}}</text>
    </view>
    <slot></slot>
  </view>
</template>

<script>
export default {
  name: "subTitle",
  props:{
    title:{
      require:true,
      type:String
    }
  }
}
</script>

<style scoped>

</style>